// 顾客预约
const express = require("express")
const Cbooking = require("../models/Customers booking")
const router = express.Router()

router.post("/client",async(req,res)=>{
    await Cbooking.create(req.body);
    res.send("顾客预约信息已录入成功")
})
router.get("/client",async(req,res)=>{
    const result=await Cbooking.find({},{
        _id:0,
        __m:0
    })
})
module.exports = router